package com.wing.res.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.res.model.entity.ResProductDraw;
import com.wing.res.model.entity.ResProductMoldDraw;
import com.wing.res.model.response.ResProductMoldDrawVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-23 20:57
 **/
@Mapper
public interface ResProductMoldDrawDao extends BaseMapper<ResProductMoldDraw> {

    /**
     * 获取模具图纸列表
     * @param pg
     * @param map
     * @return
     */
    Page<ResProductMoldDrawVo> getListByMap(@Param("page") Page<ResProductMoldDrawVo> pg,@Param("map") Map map);
}
